"use strict";
function funSum(f1, f2) {
    return function () {
        let n1 = f1();
        let n2 = f2();
        return n1 + n2;
    };
}
function fun1() {
    return 1;
}
function fun2() {
    return 2;
}
let r2 = funSum(fun1, fun2);
console.log(r2());
